﻿//
// Created by Arosy on 2021/12/17.
//

//
// Created by Arosy on 2021/12/17.
//



using System;

public class CommonValue
{
	public int type; //值的类型：int、byte、float……
	public object val; //值
	/**
	 * 构造方法
	 * @param type
	 * @param val
	 */
	public CommonValue(int type,  object val)
	{
		this.type = type;
		this.val = val;
	}

	public CommonValue()
	{
	}

    public static explicit operator CommonValue(string v)
    {
        return new CommonValue(3,v);
    }
}
